.calendar {
	font-family:arial;
	font-size:11px;
	width:350px;
}

.calendar .ctrl ul {
	margin:0 auto;
	padding:0;
	list-style-type:none;
	height:21px;
	font-weight:bold;
	width:90px;
}

.calendar .ctrl ul li {
	float:left;
	line-height:21px;
}
.calendar .ctrl ul .s {
	width:8px;
	height:1px;
}
.calendar .ctrl ul .v {
	width:7px;
	height:11px;
	position:relative;
	top:5px;
	background:url(../img/widgets.png) no-repeat 7px 0;
}

.calendar .ctrl ul .tmo,
.calendar .ctrl ul .tyr {
	padding:0 2px;
	font-size:1.1em;
	text-align:center;
}

.calendar .ctrl ul .tmo {width:14px;}
.calendar .ctrl ul .tyr {width:32px;}

.calendar .ctrl ul:hover li.p {
	background-position:0 0;
}
.calendar .ctrl ul:hover li.n {
	background-position:-7px 0;
}

.calendar table {
	border-collapse:collapse;
	table-layout:fixed;
	width:100%;
}

.calendar table tr.wtitle td {
	height:2em;
	background-color:#F7F7F7;
	text-align:center;
}

.calendar table tr.wday td {
	height:3em;
	border:1px dotted #B7B7B7;
}

.calendar table td.SUN { color:red; }
.calendar table td.SAT { color:green; }

.calendar .padding {
	color:gray;
}